import React from 'react'
import { Button } from 'antd'
import './404.less'

export default class Page404 extends React.Component {

    render() {
        return (
            <div className="page-404">
                <h4>404</h4>
                <p>您找的页面不存在</p>
                <Button
                    type="primary"
                    onClick={() => this.props.history.replace('/home')}
                    ghost>返回首页</Button>
            </div>
        )
    }
}